package com.pine.dbant.common.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * @author xiaoyuan
 * @create 2022/11/14 13:52
 **/
@Setter
@Getter
@AllArgsConstructor
public class SQLStatement implements CommandStatement {
    private String sql;
    private String commandType;

    @Override
    public String getCommand() {
        return sql;
    }

    @Override
    public String getType() {
        return commandType;
    }
}
